package com.ssy.lingxi.purchase.api.enums.onlinebidding;

import com.ssy.lingxi.common.language.LanguageHolder;

/**
 * 在线竞价单查询类型枚举类
 * @author wrc
 * @date 2021/1/19
 */
public enum OnlineBiddingListEnum {

    PURCHASE_BIDDING_LIST(1, "采购竞价单查询"),
    STAY_BIDDING_SIGNUP_LIST(2, "待竞价报名查询"),
    STAY_BIDDING_LIST(3, "待竞价"),
    ;
    private Integer type;
    private String name;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return LanguageHolder.getName(this.getClass(), this.type);
    }

    public void setName(String name) {
        this.name = name;
    }

    OnlineBiddingListEnum(Integer type, String name) {
        this.type = type;
        this.name = name;
    }
}
